<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE HTML >
<html lang="en">
<head>
<base href="<%=basePath%>">
<meta charset="UTF-8">
<title>待办列表.jsp</title>


<script type="text/javascript" src="jia/js/jquery-1.8.3.js"></script>




<script type="text/javascript">
	$(function(){
		$("dd").click(function(){
			$("#table_2 tr:odd").css("background-color","#FFFFFF");
		});
		$("[type='button']").click(function(){
			window.location.href="findRenShiDangAnById?id=12&fuHe_zhi=5";
		});
		$("[type='reset']").click(function(){
			window.location.href="findRenShiDangAnById?id=12&fuHe_zhi=2";
		});
	});
</script>

<style type="text/css">
	
		
	#head_1{margin-top: 10px;margin-left: 22px;}
	#head_1 ul li{float: left;font-size: 14px;}
	#buton{overflow: hidden;}
	#buton ul li{float:left;margin-right: 10px;}
	
	#table_2{margin-left: 22px;margin-top: 10px;font-size: 14px;text-align: center; border: 1px; }
	#table_2 table .td1{width: 50px;height: 18px;font-weight: bolder;}
	#table_2 table .td2{width: 159px;height: 18px;}
	#table_2 table .td3{width: 434px;height: 18px;}
	#table_2 table .td4{width: 133px;height: 18px;}
		#table_2 tr td{border: solid 1px #CCCCCC;}
</style>

</head>

<body>
	<div id=all
		style="width:1050px ;height: 2000px;background-color: #C9C9C9;margin: 0 auto;position:relative;top:30px;">
		<div id="header"
			style="width: 1030px; height:100px;position:absolute;left: 10px;top:0px;background-color:white;">
			<%@ include file="header.jsp"%>
		</div>
		<div id="left"
			style="height: 1000px;width: 200px; position:absolute;left: 10px;top:100px;background-color:white;">
			<%@ include file="left_xin1.jsp"%>
		</div>
		<div id="right"
			style="height: 1000px;width: 810px; ;position:absolute;left: 230px;top:100px;
			background-color:#F4F4F4;">
			<div id="h11" style="width:782px;">
			<div id="head_1">
           		<ul>
           			<li>我的工作平台</li>
           			<li>>></li>
           			<li>待办列表</li>
           		</ul>
           </div>
            <div style="clear: both;margin-left: 22px;padding-top: 10px;">
               <form action="jia/findObjectByConditions" method="post">
               <table style="border: 1px;">
               		<tr>
                    		<td style="width: 200px;">任务名称：<input type="text" name="" style="width: 100px;"/></td>
                    		<td>待办类型：
                            <select style="width: 80px;" name="number">
                            	<option>--请选择--</option>
                                <option value="1">人事档案录入审核</option>
                                <option  value="2">人事档案变更</option>
                                <option value="3">职位审核</option>
                                <option  value="4">招聘录用审核</option>
                                <option value="5">培训计划审核</option>
                                  <option value="6">薪资标准审核</option>
                                <option value="7">薪资标准变更</option>
                                <option value="8">薪资发放审核</option>
                            </select>
                            </td>
                            <td>到达日期：
                            
                            <input type="text" name="" style="width: 100px;"/>
                            </td>
                            <td>查询：
                            <input type="submit" name="submit" value="查询" style="background: url(jia/image/peixunjihua/styled_button_u381.png) no-repeat;width: 60px;height: 24px;border: none;color: white;"/>
                            </td>
                    </tr>
                    </table>
                    </form>
               </div>
               <div style="width: 200px;margin-top: 10px;margin-left: 22px;" id="buton">
            <ul>
	           <li><input type="button"  value="处理" style="background: url(jia/image/peixunjihua/styled_button_u381.png) no-repeat;width: 60px;height: 24px;border: none;color: white;"/></li>
	           <li><input type="reset"  value="明细" style="background: url(jia/image/peixunjihua/styled_button_u381.png) no-repeat;width: 60px;height: 24px;border: none;color: white;"/></li>
	       </ul>
           </div>
               <div id="table_2">
               <table style="border: 1px;">
               			<tr>
                        	<td class="td1">选择</td>
                        	<td class="td2">待办类型</td>
                            <td class="td3">待办任务名称</td>
                            <td class="td4">达到日期</td>
                        </tr>
               			<c:forEach items="${listDaiban }" var="l">
                        <tr>
                        	<td class="td1"><input type="checkbox"/>
                        	</td>
                        	<td class="td2">
                        	<c:if test="${l.type==1 }">人事档案审核</c:if>
                        	<c:if test="${l.type==2 }">人事档案变更</c:if>
                        	</td>
                            <td class="td3">${l.name }</td>
                            <td class="td4"><fmt:formatDate value="${l.timeDaiban }" pattern="yyyy-MM-dd"/></td>
                        </tr>
                       </c:forEach> 
               </table>
              
               
        </div>
		
		
		</div>
		
		
		
		
		
	</div>
</div>
</body>
</html>
